package com.ruoyi.projects.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动报名记录对象 sl_activity_reports
 * 
 * @author yangz
 * @date 2024-12-02
 */
public class SlActivityReports extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动报名id */
    private Long id;

    /** 活动id */
    @Excel(name = "活动id")
    private Long activityId;

    /** 会员id */
    @Excel(name = "会员id")
    private Long customerId;

    /** 活动昵称 */
    @Excel(name = "活动昵称")
    private String activityName;

    /** 会员昵称 */
    @Excel(name = "会员昵称")
    private String customerName;

    /** 会员头像 */
    @Excel(name = "会员头像")
    private String customerAvatar;

    /** 活动封面图 */
    @Excel(name = "活动封面图")
    private String activityImg;

    /** 是否参加（0未参加，1已参加） */
    @Excel(name = "是否参加", readConverterExp = "0=未参加，1已参加")
    private String ifDone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerAvatar(String customerAvatar) 
    {
        this.customerAvatar = customerAvatar;
    }

    public String getCustomerAvatar() 
    {
        return customerAvatar;
    }
    public void setActivityImg(String activityImg) 
    {
        this.activityImg = activityImg;
    }

    public String getActivityImg() 
    {
        return activityImg;
    }
    public void setIfDone(String ifDone) 
    {
        this.ifDone = ifDone;
    }

    public String getIfDone() 
    {
        return ifDone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("customerId", getCustomerId())
            .append("activityName", getActivityName())
            .append("customerName", getCustomerName())
            .append("customerAvatar", getCustomerAvatar())
            .append("activityImg", getActivityImg())
            .append("ifDone", getIfDone())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
